package cn.niit.pojo.pojo;

import cn.niit.*;
import org.springframework.beans.factory.annotation.Value;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Properties;

public class User {
    @Value(value="张三")
    private String name;
    @Value(value="10")
    private int age;
    private Address address;
    private job job;

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", address=" + address +
                ", job=" + job +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public cn.niit.pojo.pojo.job getJob() {
        return job;
    }

    public void setJob(cn.niit.pojo.pojo.job job) {
        this.job = job;
    }
}
